PublicChatService

The service offers APIs to send and receive public messages A public message is sent to all users present in the session

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val chatHistory: ObservableValueWithOptional<List<ChatMessage>>

Provides entire in-meeting chat history with list of ChatMessage shared with all participants

Link copied to clipboard

Chat availability based on the live meeting feature.

Link copied to clipboard
val newMessages: Observable<List<ChatMessage>>

Observable event that notifies new incoming messages.

Link copied to clipboard
val unreadMessagesCount: ObservableValueWithOptional<Int>

Show the current unread message count. It is the responsibility of client app to clear this count once consumed by calling clearUnreadMessagesCount

Functions

Link copied to clipboard

Clears the unread message count of all eligible participants Consumer application must call it when the user had viewed the unread chat messages to get the correct unread message count for future newMessages

Link copied to clipboard
fun sendMessage(message: String): Boolean

Sends a message in chat to all the participants